<?php

namespace common\assets;

use yii\web\AssetBundle;
use yii\web\View;

class AngularAsset extends AssetBundle
{

    /**
     * {@inheritdoc}
     */
    public $sourcePath = '@bower/angular';

    /**
     * {@inheritdoc}
     */
    public $js = [
        'angular.js',
    ];

    /**
     * {@inheritdoc}
     */
    public $jsOptions = [
        'position' => View::POS_HEAD,
    ];

    /**
     * {@inheritdoc}
     */
    public $depends = [
        'yii\web\JqueryAsset',
    ];
}
